/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.service.impl;

import cc.altius.dao.DoctorDao;
import cc.altius.model.Doctor;
import cc.altius.service.DoctorService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author sagar
 */
@Service
public class DoctorServiceImpl implements DoctorService {

    @Autowired
    private DoctorDao doctorDao;
    
    @Override
    public List<Doctor> getDoctorList() {
        return this.doctorDao.getDoctorList();
    }

    @Override
    public String getEmailIdOfDoctor(int doctorId) {
        return this.doctorDao.getEmailIdOfDoctor(doctorId);
    }
    
}
